package com.neusoft.dibuy.m2myweb.demo1;

public class Dog {
    public int pubi;
    protected int proi;
    int defi;
    private int prii;


    public void delDb(){
        prii =1;
    }


//    对象上的封装
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.pubi=1;
        dog.proi =2;
        dog.defi = 3;
        dog.prii = 4;
    }
}
